package cn.itcast.service.impl;

import cn.itcast.dao.ArticleRepository;
import cn.itcast.domain.Article;
import cn.itcast.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;

public class ArticleServiceImpl implements ArticleService {

    @Autowired
    private ArticleRepository articleRepository;

    public void save(Article article) {
        articleRepository.save(article);
    }
}
